Xbasic

OBJECT.ALLOWCHANGESTATUS Function

Syntax

Result_Flag as L = .Allowchangestatus()

Description

Specifies if the Layout allows editing.

Discussion

The <OBJECT>.ALLOWCHANGESTATUS() method applies to:

Browses (for <OBJECT> use either the <BROWSE> pointer or the name of the browse)
Forms (for <OBJECT> use either the <FORM> pointer or the name of the form)

The <OBJECT>.ALLOWCHANGESTATUS() method returns .T. (TRUE) if the layout allows editing; otherwise, it returns .F. (FALSE).

Example

dim ptr as P
ptr = form.load("Customer Information")
? ptr.AllowChangeStatus()
=  .T.

Limitations

Desktop applications only.

See Also